package com.wulis.provider.basic.model.dto;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author WuliBao
 * @date 2020-05-21
 */
@Data
@Accessors(chain = true)
@ApiModel(description = "修改部门DTO")
public class UpdateDepartmentDto {
    @NotNull
    @ApiModelProperty("部门ID")
    private Long id;
    
    @ApiModelProperty(value = "组织机构ID")
    private Long organizationId;
    
    @ApiModelProperty(value = "父节点ID")
    private Long parentId;
    
    @ApiModelProperty(value = "部门名称")
    private String departmentName;
    
    @ApiModelProperty(value = "排序")
    private Integer sort;
    
    @ApiModelProperty(value = "启用状态：0关闭 1启用")
    private Integer enable;
}
